﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="~/Scripts/jquery-1.10.2.js"></script>
    <script type="text/javascript">

        $(function () {
            $("#api").click(function () {

                $.ajax({
                    url: "/api/register",
                    type: "get",
                    data: { Phone: "123", Account: "123" },
                    success: function (data) {

                        alert(data);
                    }
                })
            })
        })

    </script>
</head>
<body>
    <div>

        <input id="api" type="button" value="测试" />
    </div>
</body>
</html>
